<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>薄荷绿登录</title>
    <style>
        :root {
            --mint: #98FF98;
            --teal: #20B2AA;
            --sage: #BCEBCB;
        }
        
        body {
            margin: 0;
            height: 100vh;
            background: linear-gradient(to bottom right, #F0FFF0, #E0FFFF);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .mint-card {
            width: 350px;
            padding: 40px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(152, 255, 152, 0.2);
            position: relative;
            overflow: hidden;
        }
        
        .mint-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 5px;
            height: 100%;
            background: linear-gradient(to bottom, var(--mint), var(--teal));
        }
        
        h2 {
            color: var(--teal);
            text-align: center;
            margin-bottom: 30px;
            font-weight: 500;
        }
        
        .input-field {
            position: relative;
            margin-bottom: 30px;
        }
        
        input {
            width: 100%;
            padding: 12px 0;
            background: transparent;
            border: none;
            border-bottom: 2px solid var(--sage);
            color: #333;
            font-size: 16px;
            transition: all 0.3s;
        }
        
        input:focus {
            outline: none;
            border-bottom-color: var(--teal);
        }
        
        label {
            position: absolute;
            left: 0;
            top: 12px;
            color: var(--sage);
            transition: all 0.3s;
            pointer-events: none;
        }
        
        input:focus ~ label,
        input:valid ~ label {
            top: -15px;
            font-size: 12px;
            color: var(--teal);
        }
        
        .mint-btn {
            width: 100%;
            padding: 15px;
            background: var(--teal);
            border: none;
            border-radius: 8px;
            color: white;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }
        
        .mint-btn:hover {
            background: var(--mint);
            color: #333;
        }
        
        .leaf {
            position: absolute;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%2398FF98" d="M50 0 Q70 30 50 90 Q30 30 50 0" opacity="0.6"/></svg>') no-repeat;
            background-size: contain;
            animation: fall 15s linear infinite;
        }
        
        @keyframes fall {
            0% { transform: translateY(-100px) rotate(0deg); }
            100% { transform: translateY(100vh) rotate(360deg); }
        }
    </style>
</head>
<body>
    <div id="leaves"></div>
    
    <div class="mint-card">
        <h2>清新登录</h2>
        <div class="input-field">
            <input type="text" id="mint-user" required>
            <label for="mint-user">用户名</label>
        </div>
        <div class="input-field">
            <input type="password" id="mint-pass" required>
            <label for="mint-pass">密码</label>
        </div>
        <button class="mint-btn">登录系统</button>
    </div>

    <script>
        // 创建落叶效果
        const leavesContainer = document.getElementById('leaves');
        for (let i = 0; i < 10; i++) {
            const leaf = document.createElement('div');
            leaf.classList.add('leaf');
            leaf.style.width = `${20 + Math.random() * 30}px`;
            leaf.style.height = leaf.style.width;
            leaf.style.left = `${Math.random() * 100}%`;
            leaf.style.top = `${-100 - Math.random() * 100}px`;
            leaf.style.opacity = 0.3 + Math.random() * 0.7;
            leaf.style.animationDuration = `${10 + Math.random() * 20}s`;
            leaf.style.animationDelay = `${Math.random() * 5}s`;
            leavesContainer.appendChild(leaf);
        }
    </script>
</body>
</html>